Crate triton_vm

source ·
Expand description

Triton Virtual Machine is a Zero-Knowledge Proof System (ZKPS) for proving correct execution of programs written in Triton assembly. The proof system is a zk-STARK, which is a state-of-the-art ZKPS.

Re-exports

Modules

Structs

Functions

  • A convenience function for proving a Claim and the program that claim corresponds to. Method prove_from_source gives a simpler interface with less control.
  • Prove correct execution of a program written in Triton assembly. This is a convenience function, abstracting away the details of the STARK construction. If you want to have more control over the STARK construction, this method can serve as a reference for how to use Triton VM.
  • Verify a proof generated by prove or prove_from_source.